iT邦幫忙

2024 iThome 鐵人賽

DAY 4
0
生成式 AI

(A)ㄟ你啥時要換大頭貼ㄞ(I)系列 第 4

Day4 : 在Linux上自動安裝SD

  • 分享至 

  • xImage
  •  

在Linux上自動安裝

安裝依賴項:
 Debian-based:
sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0
# Red Hat-based:
sudo dnf install wget git python3 gperftools-libs libglvnd-glx 
# openSUSE-based:
sudo zypper install wget git python3 libtcmalloc4 libglvnd
# Arch-based:
sudo pacman -S wget git python3

導航到您希望安裝webui的目錄並執行以下命令:

wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh

webui.sh

檢查 webui-user.sh 對於選項。

確保有沒有下載完成查看家目錄所有檔案

ls

https://ithelp.ithome.com.tw/upload/images/20240913/20161432KlibMz4aLS.png
切到webui檔案

cd ./stable-difussion-webui

https://ithelp.ithome.com.tw/upload/images/20240913/20161432uV5SndLNPr.png
查看裡面檔案

ls

https://ithelp.ithome.com.tw/upload/images/20240913/20161432Fpjg0DWnj4.png
啟動伺服器

./webui.sh

https://ithelp.ithome.com.tw/upload/images/20240913/20161432dIcfGonjTW.png

最後在瀏覽器輸入0.0.0.0:7860即可使用SD


上一篇
DAY3 : 如何在本地架設webui
下一篇
DAY5 : 介紹與說明功能
系列文
(A)ㄟ你啥時要換大頭貼ㄞ(I)20
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言